//
//  UIView+Frame.h
//  Weibo
//
//  Created by lanou on 15/12/27.
//  Copyright © 2015年 NiRongfei. All rights reserved.
//

#import <UIKit/UIKit.h>

#define kWidth self.frame.size.width
#define kHeight self.frame.size.height
#define kScreenWidth [UIScreen mainScreen].bounds.size.width
#define kScreenHeight [UIScreen mainScreen].bounds.size.height
// RGB颜色
#define kRGBColor(r, g, b) [UIColor colorWithRed:(r) green:(g) blue:(b) alpha:1.0]

@interface UIView (Frame)
// 左边界
@property (nonatomic,assign) CGFloat left;
// 右边界
@property (nonatomic,assign) CGFloat right;
// 上边界
@property (nonatomic,assign) CGFloat top;
// 下边界
@property (nonatomic,assign) CGFloat bottom;
// 宽
@property (nonatomic,assign) CGFloat width;
// 高
@property (nonatomic,assign) CGFloat height;

@end
